﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ImportDeals.aspx.cs" Inherits="Customer_Profile.eCard.ImportDeals" %>
<%@ Register Src="../mainTop.ascx" TagName="mainTop" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
		<title>Import deals data</title>
		<link href="/css/style.css" rel="stylesheet" type="text/css">
	</HEAD>
	<body bgcolor="#ffffff" leftmargin="0" topmargin="0">
	<form id="Form2" method="post" runat="server">
		<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td width="1" background="/images/dot_vline.gif"><img src="/images/spacer.gif" width="1" height="1"></td>
				<td width="15" valign="top"><img src="/images/spacer.gif" width="15" height="1"></td>
				<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td><img src="/images/spacer.gif" width="1" height="5"></td>
						</tr>
						<tr>
							<td height="23">
							    <span class="navi-blk">
                                    <uc1:mainTop ID="MainTop1" runat="server" />
							    Main>Import deals data
								</span>
							</td>
						</tr>
						<tr>
							<td background="/images/dot_hline.gif"><img src="/images/spacer.gif" width="1" height="1"></td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td><img src="/images/spacer.gif" width="1" height="8"></td>
						</tr>
					</table>
					<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
						
								<tr>
									<td valign="top">
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td bgcolor="#1765a7"><img src="/images/spacer.gif" width="1" height="3"></td>
											</tr>
											<tr>
												<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td width="12" class="bglist1"><img src="/images/arw_blu_rgt.gif" width="4" height="7"></td>
															<td class="bglist1">数据导入</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td><img src="/images/spacer.gif" width="1" height="1"></td>
											</tr>
										</table>
										<table width="100%" border="2" cellspacing="0" cellpadding="4">
											<tr>
												<td valign="top" class="bglist-3">
                                                 <div align="left">	
                                                    请选择文件：<asp:FileUpload ID="FileUpload1" runat="server" class="button" />
                                                    <asp:Label ID="lblWarning" runat="server" Text="请上传文件" Font-Bold="True" 
                                                         ForeColor="Red"></asp:Label>
                                                    <asp:HiddenField ID="hidFileName" runat="server"  />
                                                    </div>
                                                    </td>
											</tr>                                           
											<tr>
												<td class="bglist-3">
                                                <div align="left">														
                                                      <asp:Button ID="Button1" runat="server" onclick="Button1_Click" class="button" Text="Upload File" />
                                                      <asp:Button ID="Button2" runat="server" Text="Import Data" class="button" onclick="Button2_Click" />
                                                </div>
											</tr>
                                            <tr>
                                                <td>
                                                 <div style="overflow:auto;width:2548; height: 100%">
                                                    <asp:GridView ID="GridView1" runat="server" ShowHeader="False" AutoGenerateColumns="true"
                                                        BorderWidth="1px" Width="100%" HorizontalAlign="Center" Font-Size="Smaller" 
                                                        AllowPaging="false">
                                                        <HeaderStyle HorizontalAlign="Center" BorderStyle="Groove" BackColor="#C0C0FF" />
                                                        <RowStyle HorizontalAlign="Center" CssClass="bglist-2" />
                                                    </asp:GridView>
                                                </div>                
                                                </td>
                                            </tr>
										</table>
									</td>
								</tr>
					</table>
				</td>
				<td width="10" valign="top"><img src="/images/spacer.gif" width="10" height="1"></td>
			</tr>
        </table>
	    </form>
	</body>
</HTML>